//定义关于counter的store
import { defineStore } from 'pinia'
const aside = defineStore('aside', {
  state: () => ({
    //选择的工作站
    command: '信息中心',
  }),

  getters: {},

  actions: {
    // 修改command的action
    changecommand(data: string) {
      this.command = data;
    },
  },
  persist: true
})

//暴露这个useCounter模块
export default aside
